package com.alinesno.cloud.base.notice.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;


/**
 * <p>
 * 短信模板
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-20 12:02:03
 */
@Entity
@Table(name="sms_template")
public class SmsTemplateEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 模板代码
     */
	@Column(name="template_code")
	private String templateCode;
    /**
     * 模板内容
     */
	@Column(name="template_content")
	private String templateContent;
    /**
     * 模板描述
     */
	@Column(name="template_desc")
	private String templateDesc;
    /**
     * 模板类型
     */
	@Column(name="template_type")
	private String templateType;


	public String getTemplateCode() {
		return templateCode;
	}

	public void setTemplateCode(String templateCode) {
		this.templateCode = templateCode;
	}

	public String getTemplateContent() {
		return templateContent;
	}

	public void setTemplateContent(String templateContent) {
		this.templateContent = templateContent;
	}

	public String getTemplateDesc() {
		return templateDesc;
	}

	public void setTemplateDesc(String templateDesc) {
		this.templateDesc = templateDesc;
	}

	public String getTemplateType() {
		return templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}


	@Override
	public String toString() {
		return "SmsTemplateEntity{" +
			"templateCode=" + templateCode +
			", templateContent=" + templateContent +
			", templateDesc=" + templateDesc +
			", templateType=" + templateType +
			"}";
	}
}
